# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'simpleRaster.ui'
#
# Created: Thu May  7 22:27:25 2009
#      by: PyQt4 UI code generator 4.3.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_SimpleRaster(object):
    def setupUi(self, SimpleRaster):
        SimpleRaster.setObjectName("SimpleRaster")
        SimpleRaster.resize(QtCore.QSize(QtCore.QRect(0,0,435,223).size()).expandedTo(SimpleRaster.minimumSizeHint()))

        self.vboxlayout = QtGui.QVBoxLayout(SimpleRaster)
        self.vboxlayout.setObjectName("vboxlayout")

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")

        self.label_9 = QtGui.QLabel(SimpleRaster)
        self.label_9.setObjectName("label_9")
        self.hboxlayout.addWidget(self.label_9)

        self.nameString = QtGui.QLineEdit(SimpleRaster)
        self.nameString.setObjectName("nameString")
        self.hboxlayout.addWidget(self.nameString)
        self.vboxlayout.addLayout(self.hboxlayout)

        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setObjectName("gridlayout")

        self.label = QtGui.QLabel(SimpleRaster)
        self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label,0,0,1,1)

        self.label_2 = QtGui.QLabel(SimpleRaster)
        self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_2.setObjectName("label_2")
        self.gridlayout.addWidget(self.label_2,1,0,1,1)

        self.rows = QtGui.QSpinBox(SimpleRaster)
        self.rows.setMinimum(1)
        self.rows.setMaximum(500)
        self.rows.setProperty("value",QtCore.QVariant(5))
        self.rows.setObjectName("rows")
        self.gridlayout.addWidget(self.rows,0,1,1,1)

        self.columns = QtGui.QSpinBox(SimpleRaster)
        self.columns.setMinimum(1)
        self.columns.setMaximum(500)
        self.columns.setProperty("value",QtCore.QVariant(5))
        self.columns.setObjectName("columns")
        self.gridlayout.addWidget(self.columns,1,1,1,1)

        self.label_3 = QtGui.QLabel(SimpleRaster)
        self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_3.setObjectName("label_3")
        self.gridlayout.addWidget(self.label_3,2,0,1,1)

        self.label_4 = QtGui.QLabel(SimpleRaster)
        self.label_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_4.setObjectName("label_4")
        self.gridlayout.addWidget(self.label_4,3,0,1,1)

        self.xleft = QtGui.QDoubleSpinBox(SimpleRaster)
        self.xleft.setMinimum(-1e+34)
        self.xleft.setMaximum(1e+34)
        self.xleft.setObjectName("xleft")
        self.gridlayout.addWidget(self.xleft,2,1,1,1)

        self.ytop = QtGui.QDoubleSpinBox(SimpleRaster)
        self.ytop.setMinimum(-1e+34)
        self.ytop.setMaximum(1e+34)
        self.ytop.setObjectName("ytop")
        self.gridlayout.addWidget(self.ytop,3,1,1,1)

        self.label_5 = QtGui.QLabel(SimpleRaster)
        self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_5.setObjectName("label_5")
        self.gridlayout.addWidget(self.label_5,0,2,1,1)

        self.label_6 = QtGui.QLabel(SimpleRaster)
        self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_6.setObjectName("label_6")
        self.gridlayout.addWidget(self.label_6,1,2,1,1)

        self.cellWidth = QtGui.QDoubleSpinBox(SimpleRaster)
        self.cellWidth.setMinimum(-1e+34)
        self.cellWidth.setMaximum(1e+34)
        self.cellWidth.setProperty("value",QtCore.QVariant(0.0))
        self.cellWidth.setObjectName("cellWidth")
        self.gridlayout.addWidget(self.cellWidth,0,3,1,1)

        self.cellHeight = QtGui.QDoubleSpinBox(SimpleRaster)
        self.cellHeight.setMinimum(-1e+34)
        self.cellHeight.setMaximum(1e+34)
        self.cellHeight.setProperty("value",QtCore.QVariant(0.0))
        self.cellHeight.setObjectName("cellHeight")
        self.gridlayout.addWidget(self.cellHeight,1,3,1,1)

        self.label_7 = QtGui.QLabel(SimpleRaster)
        self.label_7.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_7.setObjectName("label_7")
        self.gridlayout.addWidget(self.label_7,2,2,1,1)

        self.label_8 = QtGui.QLabel(SimpleRaster)
        self.label_8.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_8.setObjectName("label_8")
        self.gridlayout.addWidget(self.label_8,3,2,1,1)

        self.startValue = QtGui.QDoubleSpinBox(SimpleRaster)
        self.startValue.setMinimum(-1e+34)
        self.startValue.setMaximum(1e+34)
        self.startValue.setProperty("value",QtCore.QVariant(0.0))
        self.startValue.setObjectName("startValue")
        self.gridlayout.addWidget(self.startValue,2,3,1,1)

        self.incrementValue = QtGui.QDoubleSpinBox(SimpleRaster)
        self.incrementValue.setMinimum(-1e+34)
        self.incrementValue.setMaximum(1e+34)
        self.incrementValue.setObjectName("incrementValue")
        self.gridlayout.addWidget(self.incrementValue,3,3,1,1)
        self.vboxlayout.addLayout(self.gridlayout)

        self.buttonBox = QtGui.QDialogButtonBox(SimpleRaster)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.addWidget(self.buttonBox)

        self.retranslateUi(SimpleRaster)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),SimpleRaster.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),SimpleRaster.reject)
        QtCore.QMetaObject.connectSlotsByName(SimpleRaster)

    def retranslateUi(self, SimpleRaster):
        SimpleRaster.setWindowTitle(QtGui.QApplication.translate("SimpleRaster", "Simple Raster", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("SimpleRaster", "Name", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("SimpleRaster", "rows", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("SimpleRaster", "columns", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("SimpleRaster", "xleft", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("SimpleRaster", "ytop", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("SimpleRaster", "cell width", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("SimpleRaster", "cell height", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("SimpleRaster", "start", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("SimpleRaster", "increment", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    SimpleRaster = QtGui.QDialog()
    ui = Ui_SimpleRaster()
    ui.setupUi(SimpleRaster)
    SimpleRaster.show()
    sys.exit(app.exec_())
